[33mcommit a08b43bb3775563aaea3d97c6f3006702a1fcc5a[m[33m ([m[1;36mHEAD -> [m[1;32mmaster[m[33m)[m
Author: jz <1220071455@qq.com>
Date:   Wed Sep 22 10:47:09 2021 +0800

    首页

[1mdiff --git a/.DS_Store b/.DS_Store[m
[1mnew file mode 100644[m
[1mindex 0000000..5008ddf[m
Binary files /dev/null and b/.DS_Store differ
[1mdiff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json[m
[1mnew file mode 100644[m
[1mindex 0000000..32f4dc5[m
[1m--- /dev/null[m
[1m+++ b/.hbuilderx/launch.json[m
[36m@@ -0,0 +1,20 @@[m
[32m+[m[32m{ // launch.json 配置了启动调试时相关设置，configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/[m
[32m+[m[32m  // launchtype项可配置值为local或remote, local代表前端连本地云函数，remote代表前端连云端云函数[m
[32m+[m[32m    "version": "0.0",[m
[32m+[m[32m    "configurations": [{[m
[32m+[m[41m     [m	[32m"default" :[m[41m [m
[32m+[m[41m     [m	[32m{[m
[32m+[m[41m     [m		[32m"launchtype" : "local"[m
[32m+[m[41m     [m	[32m},[m
[32m+[m[41m     [m	[32m"h5" :[m[41m [m
[32m+[m[41m     [m	[32m{[m
[32m+[m[41m     [m		[32m"launchtype" : "local"[m
[32m+[m[41m     [m	[32m},[m
[32m+[m[41m     [m	[32m"mp-weixin" :[m[41m [m
[32m+[m[41m     [m	[32m{[m
[32m+[m[41m     [m		[32m"launchtype" : "local"[m
[32m+[m[41m     [m	[32m},[m
[32m+[m[41m     [m	[32m"type" : "uniCloud"[m
[32m+[m[32m     }[m
[32m+[m[32m    ][m
[32m+[m[32m}[m
[1mdiff --git a/App.vue b/App.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..7b5ef6f[m
[1m--- /dev/null[m
[1m+++ b/App.vue[m
[36m@@ -0,0 +1,22 @@[m
[32m+[m[32m<script>[m
[32m+[m[41m	[m
[32m+[m	[32mexport default {[m
[32m+[m		[32monLaunch: function() {[m
[32m+[m			[32mconsole.log('App Launch')[m
[32m+[m		[32m},[m
[32m+[m		[32monShow: function() {[m
[32m+[m			[32mconsole.log('App Show')[m
[32m+[m		[32m},[m
[32m+[m		[32monHide: function() {[m
[32m+[m			[32mconsole.log('App Hide')[m
[32m+[m		[32m}[m
[32m+[m	[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style >[m
[32m+[m	[32m/*每个页面公共css */[m
[32m+[m	[32mpage{[m
[32m+[m			[32mheight: 100%;[m
[32m+[m			[32mbackground-color: #F2F2F7;[m
[32m+[m		[32m}[m
[32m+[m[32m</style>[m
[1mdiff --git a/__MACOSX/components/._.DS_Store b/__MACOSX/components/._.DS_Store[m
[1mnew file mode 100644[m
[1mindex 0000000..a5b28df[m
Binary files /dev/null and b/__MACOSX/components/._.DS_Store differ
[1mdiff --git a/__MACOSX/components/._axb-checkbox b/__MACOSX/components/._axb-checkbox[m
[1mnew file mode 100644[m
[1mindex 0000000..015852b[m
Binary files /dev/null and b/__MACOSX/components/._axb-checkbox differ
[1mdiff --git a/__MACOSX/components/axb-checkbox/._.DS_Store b/__MACOSX/components/axb-checkbox/._.DS_Store[m
[1mnew file mode 100644[m
[1mindex 0000000..84f79f4[m
Binary files /dev/null and b/__MACOSX/components/axb-checkbox/._.DS_Store differ
[1mdiff --git a/__MACOSX/components/axb-checkbox/._axb-checkbox-item.vue b/__MACOSX/components/axb-checkbox/._axb-checkbox-item.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..015852b[m
Binary files /dev/null and b/__MACOSX/components/axb-checkbox/._axb-checkbox-item.vue differ
[1mdiff --git a/__MACOSX/components/axb-checkbox/._axb-checkbox.vue b/__MACOSX/components/axb-checkbox/._axb-checkbox.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..522ae2b[m
Binary files /dev/null and b/__MACOSX/components/axb-checkbox/._axb-checkbox.vue differ
[1mdiff --git a/components/.DS_Store b/components/.DS_Store[m
[1mnew file mode 100644[m
[1mindex 0000000..2b8ec40[m
Binary files /dev/null and b/components/.DS_Store differ
[1mdiff --git a/components/axb-checkbox/.DS_Store b/components/axb-checkbox/.DS_Store[m
[1mnew file mode 100644[m
[1mindex 0000000..5008ddf[m
Binary files /dev/null and b/components/axb-checkbox/.DS_Store differ
[1mdiff --git a/components/axb-checkbox/axb-checkbox-item.vue b/components/axb-checkbox/axb-checkbox-item.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..c32f508[m
[1m--- /dev/null[m
[1m+++ b/components/axb-checkbox/axb-checkbox-item.vue[m
[36m@@ -0,0 +1,106 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="radio" :class="{'radio-width-default':widthDefault}" :style="checked?activeStyle :itemStyle" @click="handleChange">[m
[32m+[m		[32m{{name}}[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m[41m	[m
[32m+[m	[32m/**[m
[32m+[m[32m * 防抖[m
[32m+[m[32m * @param {*} fun[m[41m [m
[32m+[m[32m * @param {*} delay[m[41m [m
[32m+[m[32m * @param {*} immediate[m[41m [m
[32m+[m[32m */[m
[32m+[m[32mconst debounce = function (fun, delay, immediate) {[m
[32m+[m[32m  var timer, lasttime, context, arg[m
[32m+[m[32m  var later = function () {[m
[32m+[m[32m    var now = new Date().getTime(),[m
[32m+[m[32m      l = now - lasttime[m
[32m+[m[32m    if (l < delay && l >= 0) {[m
[32m+[m[32m      clearTimeout(timer)[m
[32m+[m[32m      timer = setTimeout(later, delay - l)[m
[32m+[m[32m    } else {[m
[32m+[m[32m      clearTimeout(timer)[m
[32m+[m[32m      timer = null[m
[32m+[m[32m      if (!immediate) {[m
[32m+[m[32m        fun.apply(context, arg)[m
[32m+[m[32m        if (!timer) context = arg = null[m
[32m+[m[32m      }[m
[32m+[m[32m    }[m
[32m+[m[32m  }[m
[32m+[m[32m  return function () {[m
[32m+[m[32m    context = this[m
[32m+[m[32m    arg = arguments[m
[32m+[m[32m    lasttime = new Date().getTime()[m
[32m+[m[32m    var callNow = immediate && !timer[m
[32m+[m[32m    if (!timer) timer=setTimeout(later, delay)[m
[32m+[m[32m    if (callNow) {[m
[32m+[m[32m      fun.apply(context, arg)[m
[32m+[m[32m      context = arg = null[m
[32m+[m[32m    }[m
[32m+[m[32m  }[m
[32m+[m[32m}[m
[32m+[m	[32mexport default {[m
[32m+[m		[32mprops: {[m
[32m+[m			[32mname: {[m
[32m+[m				[32mtype: String,[m
[32m+[m				[32mdefault: ''[m
[32m+[m			[32m},[m
[32m+[m			[32mvalue: {[m
[32m+[m				[32mdefault: null,[m
[32m+[m			[32m},[m
[32m+[m			[32mchecked: {[m
[32m+[m				[32mtype: [Boolean, Number],[m
[32m+[m				[32mdefault: false[m
[32m+[m			[32m},[m
[32m+[m		[32m},[m
[32m+[m		[32mcomputed: {[m
[32m+[m			[32mwidthDefault() {[m
[32m+[m				[32mreturn this.name.length <= 3[m
[32m+[m			[32m},[m
[32m+[m			[32mactiveStyle() {[m
[32m+[m				[32mreturn `background: #d5e4fd;color: #3c7ef6;border-color: #3c7ef6;`[m
[32m+[m			[32m},[m
[32m+[m			[32mitemStyle() {[m
[32m+[m				[32mreturn `background: #f7f7f7;color: #7d7d7d;`[m
[32m+[m			[32m}[m
[32m+[m		[32m},[m
[32m+[m		[32mdata() {[m
[32m+[m			[32mreturn {[m
[32m+[m
[32m+[m			[32m};[m
[32m+[m		[32m},[m
[32m+[m		[32mmethods: {[m
[32m+[m			[32mhandleChange: debounce(handleChange, 200,true)[m
[32m+[m		[32m}[m
[32m+[m	[32m}[m
[32m+[m
[32m+[m	[32mfunction handleChange() {[m
[32m+[m		[32mthis.$emit('change', this.value)[m
[32m+[m	[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style scoped>[m
[32m+[m	[32m.radio {[m
[32m+[m		[32mdisplay: inline-block;[m
[32m+[m		[32mheight: 60upx;[m
[32m+[m		[32mline-height: 60upx;[m
[32m+[m		[32mpadding: 0 22upx;[m
[32m+[m		[32mborder-radius: 10upx;[m
[32m+[m		[32mfont-size: 26upx;[m
[32m+[m		[32mbox-sizing: border-box;[m
[32m+[m		[32mborder: 1px solid #c3c3c3;[m
[32m+[m	[32m}[m
[32m+[m
[32m+[m	[32m.radio:not(:last-child) {[m
[32m+[m		[32mmargin: 0 20upx 30upx 0;[m
[32m+[m	[32m}[m
[32m+[m
[32m+[m
[32m+[m	[32m.radio-width-default {[m
[32m+[m		[32mwidth: 120upx;[m
[32m+[m		[32mtext-align: center;[m
[32m+[m		[32mpadding: 0;[m
[32m+[m	[32m}[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/axb-checkbox/axb-checkbox.vue b/components/axb-checkbox/axb-checkbox.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..7eb5323[m
[1m--- /dev/null[m
[1m+++ b/components/axb-checkbox/axb-checkbox.vue[m
[36m@@ -0,0 +1,133 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="style-flex style-flex-wrap">[m
[32m+[m		[32m<filter-radio-item v-for="(item, idx) in items" :key="idx" :name="item.name" :value="item.value" :checked="item.checked" @change="radioChange"></filter-radio-item>[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m	[32mimport filterRadioItem from './axb-checkbox-item.vue'[m
[32m+[m	[32mexport default {[m
[32m+[m		[32mprops:{[m
[32m+[m			[32mlist:{[m
[32m+[m				[32mtype:Array,[m
[32m+[m				[32mdefault: [][m
[32m+[m			[32m},[m
[32m+[m			[32mmulti:{[m
[32m+[m				[32mtype:Boolean,[m
[32m+[m				[32mdefault:false[m
[32m+[m			[32m}[m
[32m+[m		[32m},[m
[32m+[m		[32mcomponents:{[m
[32m+[m			[32mfilterRadioItem[m
[32m+[m		[32m},[m
[32m+[m		[32mdata() {[m
[32m+[m			[32mreturn {[m
[32m+[m				[32mitems: this.list,[m
[32m+[m				[32mresMulti: [],[m
[32m+[m			[32m};[m
[32m+[m		[32m},[m
[32m+[m		[32mcreated(){[m
[32m+[m		[32m},[m
[32m+[m		[32mcomputed:{[m
[32m+[m		[32m},[m
[32m+[m		[32mmethods:{[m
[32m+[m			[32mhandleChange:function(val){[m
[32m+[m				[32mconst arr = [][m
[32m+[m				[32m// 是否为全部[m
[32m+[m				[32mif(val==='all'){[m
[32m+[m					[32mlet allr = this.items.find((n) => n.value === val)[m
[32m+[m					[32mthis.items.forEach(function(item){[m
[32m+[m						[32mlet re = {}[m
[32m+[m						[32mre.name = item.name[m
[32m+[m						[32mre.value = item.value[m
[32m+[m						[32mre.checked= !allr.checked[m
[32m+[m						[32marr.push(re)[m
[32m+[m					[32m})[m
[32m+[m				[32m} else{[m
[32m+[m					[32mfor(let i =0; i<this.items.length;i++){[m
[32m+[m						[32mlet r = {}[m
[32m+[m						[32mr.name = this.items[i].name[m
[32m+[m						[32mr.value = this.items[i].value[m
[32m+[m						[32mif(this.multi){ // 多选[m
[32m+[m							[32mif(this.items[i].value === val){ // 选中项处理[m
[32m+[m								[32mr.checked = !this.items[i].checked[m
[32m+[m							[32m}[m
[32m+[m							[32melse{[m
[32m+[m								[32mr.checked=this.items[i].checked[m
[32m+[m							[32m}[m
[32m+[m						[32m}else{ // 单选[m
[32m+[m							[32mif(this.items[i].value === val){ // 选中项处理[m
[32m+[m								[32mr.checked = !this.items[i].checked[m
[32m+[m							[32m}else{[m
[32m+[m								[32mr.checked = false[m
[32m+[m							[32m}[m[41m	[m
[32m+[m						[32m}[m
[32m+[m						[32marr.push(r)[m
[32m+[m					[32m}[m
[32m+[m				[32m}[m
[32m+[m				[32m// 判断是否全选 全选按钮未全选[m
[32m+[m				[32mif(this.multi&&arr[0].value==='all'){[m
[32m+[m					[32mconst select = arr.slice(1)[m
[32m+[m					[32mlet r = select.every(function(val){[m
[32m+[m						[32mreturn val.checked[m
[32m+[m					[32m})[m
[32m+[m					[32marr[0].checked = r[m
[32m+[m				[32m}[m
[32m+[m				[32mthis.items = arr[m
[32m+[m			[32m},[m
[32m+[m			[32mradioChange: function (e) {[m
[32m+[m				[32mconsole.log('radio发生change事件，携带value值为：' + e)[m
[32m+[m				[32m// 改变单击项[m[41m [m
[32m+[m				[32mthis.handleChange(e)[m
[32m+[m				[32mconst re = [][m
[32m+[m				[32mif(this.multi){[m
[32m+[m					[32mthis.items.forEach(function(val){[m
[32m+[m						[32mif(val.checked){[m
[32m+[m							[32mre.push(val.value)[m
[32m+[m						[32m}[m
[32m+[m					[32m})[m
[32m+[m				[32m}[m
[32m+[m				[32mlet r = this.items.find((val)=>{[m
[32m+[m					[32mreturn val.value === e[m
[32m+[m				[32m})[m
[32m+[m				[32mlet result = this.multi?re:r.checked?e:null[m
[32m+[m				[32m// 返回选择项[m
[32m+[m				[32mthis.$emit('change',result)[m
[32m+[m			[32m},[m
[32m+[m			[32mreset:function(){[m
[32m+[m				[32mthis.items=this.list[m
[32m+[m			[32m},[m
[32m+[m			[32msetItems:function(val){[m
[32m+[m				[32mthis.items = val[m
[32m+[m			[32m}[m
[32m+[m		[32m}[m
[32m+[m	[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style scoped>[m
[32m+[m[32m .radio{[m
[32m+[m	[32mdisplay: inline-block;[m
[32m+[m	[32mheight: 60upx;[m
[32m+[m	[32mline-height: 60upx;[m
[32m+[m	[32mpadding: 0 22upx;[m
[32m+[m	[32mbackground: #f7f7f7;[m
[32m+[m	[32mborder: 1*2rpx solid #c3c3c3;[m
[32m+[m	[32mborder-radius: 10upx;[m
[32m+[m	[32mfont-size: 26upx;[m
[32m+[m	[32mcolor: #7d7d7d;[m
[32m+[m	[32mbox-sizing: border-box;[m
[32m+[m[32m }[m
[32m+[m[32m .radio:not(:last-child){[m
[32m+[m	[32m margin: 0 20upx 30upx 0;[m
[32m+[m[32m }[m
[32m+[m[32m .radio-primay{[m
[32m+[m	[32m background: #d5e4fd;[m
[32m+[m	[32m color: #3c7ef6;[m
[32m+[m	[32m border: 1*2rpx solid #3c7ef6;[m
[32m+[m[32m }[m
[32m+[m[32m .radio-width-default{[m
[32m+[m	[32m width: 120upx;[m
[32m+[m	[32m text-align: center;[m
[32m+[m	[32m padding: 0;[m
[32m+[m[32m }[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/common/Navtop/Navtop.vue b/components/common/Navtop/Navtop.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..aa0d761[m
[1m--- /dev/null[m
[1m+++ b/components/common/Navtop/Navtop.vue[m
[36m@@ -0,0 +1,51 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<!-- 导航栏 -->[m
[32m+[m	[32m<view class="nav">[m
[32m+[m		[32m<view class="guanbi">[m
[32m+[m			[32m<uni-icons @tap="NavigateBack" type="back" size="24"></uni-icons>[m
[32m+[m			[32m<navigator url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover"><view class="guan">关闭</view></navigator>[m
[32m+[m		[32m</view>[m
[32m+[m		[32m<slot name="center">工作台</slot>[m
[32m+[m		[32m<view class="san">[m
[32m+[m			[32m<slot  name="footer"></slot>[m
[32m+[m		[32m</view>[m
[32m+[m[41m		[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m	[32mexport default {[m
[32m+[m
[32m+[m[41m		[m
[32m+[m		[32msetup(){[m
[32m+[m
[32m+[m			[32mconst NavigateBack = ()=>{[m
[32m+[m						[32muni.navigateBack()[m
[32m+[m					[32m}[m
[32m+[m[41m		[m
[32m+[m			[32mreturn {[m
[32m+[m				[32mNavigateBack[m
[32m+[m			[32m}[m
[32m+[m		[32m}[m
[32m+[m[41m		[m
[32m+[m	[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style  lang="scss">[m
[32m+[m[32m.nav {[m
[32m+[m	[32mdisplay: flex;[m
[32m+[m	[32mjustify-content: space-between;[m
[32m+[m	[32malign-items: center;[m
[32m+[m	[32mpadding: 16rpx 16rpx;[m
[32m+[m	[32mbackground-color: $uni-text-color-inverse;[m
[32m+[m	[32m.guanbi {[m
[32m+[m		[32mdisplay: flex;[m
[32m+[m		[32mwidth: 150rpx;[m
[32m+[m	[32m}[m
[32m+[m	[32m.san {[m
[32m+[m		[32mpadding-left: 70rpx;[m
[32m+[m		[32mwidth: 150rpx;[m
[32m+[m		[32mbox-sizing: border-box;[m
[32m+[m	[32m}[m
[32m+[m[32m}[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/components/Dropto.vue b/components/components/Dropto.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..d250a9f[m
[1m--- /dev/null[m
[1m+++ b/components/components/Dropto.vue[m
[36m@@ -0,0 +1,50 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="drop">[m
[32m+[m		[32m<navigator url="/components/components/power" hover-class="navigator-hover"  class="drleft">[m
[32m+[m			[32m<svg class='icon' aria-hidden='true' >[m
[32m+[m				[32m<use xlink:href='#icon-standard'></use>[m
[32m+[m			[32m</svg>[m
[32m+[m			[32m<view class="power">权限内∨</view>[m
[32m+[m		[32m</navigator>[m
[32m+[m		[32m<navigator url="/components/components/power" hover-class="navigator-hover"  class="drright">[m
[32m+[m			[32m<view class="time">时间</view>[m
[32m+[m		[32m</navigator>[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style scoped lang="scss">[m
[32m+[m	[32m// 下拉菜单栏[m
[32m+[m		[32m.drop {[m
[32m+[m			[32mheight: 56 * 2rpx;[m
[32m+[m			[32mborder-bottom: 8 * 2rpx solid #F2F2F7;[m
[32m+[m			[32mpadding: 0 16 * 2rpx;[m
[32m+[m			[32mdisplay: flex;[m
[32m+[m			[32mjustify-content: space-between;[m
[32m+[m			[32malign-items: center;[m
[32m+[m[41m			[m
[32m+[m			[32m.drleft {[m
[32m+[m				[32mdisplay: flex;[m
[32m+[m				[32malign-items: center;[m
[32m+[m				[32mwidth: 300rpx;[m
[32m+[m				[32m.icon {[m
[32m+[m					[32mwidth: 30 * 2rpx;[m
[32m+[m					[32mheight: 30 * 2rpx;[m
[32m+[m					[32mborder-radius: 5 * 2rpx;[m
[32m+[m				[32m}[m
[32m+[m				[32m.power{[m
[32m+[m					[32mwidth: 300rpx;[m
[32m+[m					[32mmargin-left: 5rpx;[m
[32m+[m				[32m}[m
[32m+[m			[32m}[m
[32m+[m			[32m.drright {[m
[32m+[m				[32mdisplay: flex;[m
[32m+[m			[32m}[m
[32m+[m		[32m}[m
[32m+[m		[32m.height{[m
[32m+[m			[32mheight: 50*2rpx;[m
[32m+[m		[32m}[m
[32m+[m	[32m}[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/components/Hetong.vue b/components/components/Hetong.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..dd6ad35[m
[1m--- /dev/null[m
[1m+++ b/components/components/Hetong.vue[m
[36m@@ -0,0 +1,54 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="jianbao">[m
[32m+[m		[32m<!-- 简报看板 -->[m
[32m+[m		[32m<Title :title="title" :text="text"/>[m[41m	[m
[32m+[m		[32m<!-- 客户数据 -->[m
[32m+[m		[32m<card :cards="cards"/>[m
[32m+[m		[32m<!-- 查看详情 -->[m
[32m+[m		[32m<Detail :url="url"/>[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m	[32mimport Title from './common/Title.vue';[m
[32m+[m	[32mimport Card from './common/Card.vue';[m
[32m+[m	[32mimport Detail from './common/Detail.vue';[m
[32m+[m	[32mimport { ref , reactive } from "vue"[m
[32m+[m	[32mexport default {[m
[32m+[m		[32mcomponents: {[m
[32m+[m			[32mTitle,Card,Detail[m
[32m+[m		[32m},[m
[32m+[m		[32msetup(){[m
[32m+[m			[32mconst title = ref("合同订单")[m
[32m+[m			[32mconst text = ref("(权限内/2021年9月)")[m
[32m+[m			[32mconst cards = reactive([])[m
[32m+[m[41m			[m
[32m+[m			[32mconst url = ref('/pages/index/Commonlist/kehulist/Kehulist')[m
[32m+[m			[32mrequest('/api/workbench/deskmode?modetype=hetong',{[m
[32m+[m				[32mdateRang: ["2021-09-01", "2021-09-30"],[m
[32m+[m				[32mselectType: ""[m
[32m+[m			[41m [m	[32m},'POST').then(res=>{[m
[32m+[m					[32mconsole.log(res)[m
[32m+[m					[32m// title.value = res.data.result.title  // 标题赋值[m
[32m+[m					[32m// const cardsdata = res.data.result.data // 卡片数据[m
[32m+[m					[32m//  cardsdata.forEach(e => {  //  卡片数据赋值[m
[32m+[m					[32m//     cards.push(e);[m
[32m+[m					[32m//   });[m
[32m+[m				[32m})[m
[32m+[m[41m			[m
[32m+[m			[32mreturn{[m
[32m+[m				[32mtitle,[m
[32m+[m				[32mtext,[m
[32m+[m				[32mcards[m
[32m+[m[41m				[m
[32m+[m			[32m}[m
[32m+[m		[32m}[m
[32m+[m		[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style scoped lang="scss">[m
[32m+[m
[32m+[m[41m	[m
[32m+[m[41m	[m
[32m+[m[41m	[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/components/Huikuan.vue b/components/components/Huikuan.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..bb61a03[m
[1m--- /dev/null[m
[1m+++ b/components/components/Huikuan.vue[m
[36m@@ -0,0 +1,79 @@[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="jianbao">[m
[32m+[m		[32m<!-- 简报看板 -->[m
[32m+[m		[32m<Title :title="title" :text="text"/>[m[41m	[m
[32m+[m		[32m<!-- 柱状图 -->[m
[32m+[m		[32m<Ehuikuan />[m
[32m+[m		[32m<!-- 客户数据 -->[m
[32m+[m		[32m<card :cards="cards"/>[m
[32m+[m		[32m<!-- 查看详情 -->[m
[32m+[m		[32m<Detail :url='url'/>[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m	[32mimport Title from './common/Title.vue';[m
[32m+[m	[32mimport Card from './common/Card.vue';[m
[32m+[m	[32mimport Detail from './common/Detail.vue';[m
[32m+[m	[32mimport Ehuikuan from './echarts/Ehuikuan.vue';[m
[32m+[m	[32mimport { ref , reactive } from "vue";[m
[32m+[m	[32mexport default {[m
[32m+[m		[32mcomponents: {[m
[32m+[m			[32mTitle,Card,Detail,Ehuikuan[m
[32m+[m		[32m},[m
[32m+[m		[32msetup(){[m
[32m+[m			[32mconst title = ref("加载中...")[m
[32m+[m			[32mconst text = ref("(权限内/2021年9月)")[m
[32m+[m			[32mconst cards = reactive([])[m
[32m+[m			[32mconst url = ref('/pages/index/Commonlist/kehulist/Kehulist')[m
[32m+[m			[32m// 统计图表[m
[32m+[m			[32m// const chartsDataColumn1 = reactive({})[m
[32m+[m			[32mconst chartData={[m
[32m+[m			[32m  categories: ["2016", "2017", "2018", "2019", "2020", "2021"],[m
[32m+[m			[32m  series: [{[m
[32m+[m			[32m    name: "目标值",[m
[32m+[m			[32m    data: [35, 36, 31, 33, 13, 34][m
[32m+[m			[32m  }, {[m
[32m+[m			[32m    name: "完成量",[m
[32m+[m			[32m    data: [18, 27, 21, 24, 6, 28][m
[32m+[m			[32m  }][m
[32m+[m			[32m}[m
[32m+[m			[32muni.request({[m
[32m+[m				[32m//仅为示例，并非真实接口地址。[m
[32m+[m				[32murl: 'http://nboa.jzsoft.cn:777/pro/api/workbench/deskmode?modetype=huikuan',[m[41m [m
[32m+[m				[32mmethod: 'POST',[m
[32m+[m				[32mdata:{[m
[32m+[m					[32mselectType: "",[m[41m [m
[32m+[m					[32mdateRang: ["2021-09-01", "2021-09-30"][m
[32m+[m				[32m},[m
[32m+[m				[32m// header: {[m
[32m+[m				[32m// 	'content-type': 'application/json'[m
[32m+[m				[32m// },[m
[32m+[m				[32msuccess: res => {[m
[32m+[m					[32mconsole.log("回款+++>>>",res);[m
[32m+[m					[32mconsole.log(res.data.result.statData);[m
[32m+[m					[32mtitle.value = res.data.result.title  // 标题赋值[m
[32m+[m					[32mconst cardsdata = res.data.result.statData // 卡片数据[m
[32m+[m					[32m cardsdata.forEach(e => {  //  卡片数据赋值[m
[32m+[m					[32m    cards.push(e);[m
[32m+[m					[32m  });[m
[32m+[m				[32m}[m
[32m+[m			[32m});[m
[32m+[m[41m			[m
[32m+[m			[32mreturn{[m
[32m+[m				[32mtitle,[m
[32m+[m				[32mtext,[m
[32m+[m				[32mcards,[m
[32m+[m				[32mchartData,[m
[32m+[m				[32murl[m
[32m+[m			[32m}[m
[32m+[m		[32m}[m
[32m+[m		[32m}[m
[32m+[m[32m</script>[m
[32m+[m
[32m+[m[32m<style scoped lang="scss">[m
[32m+[m
[32m+[m[41m	[m
[32m+[m[41m	[m
[32m+[m[41m	[m
[32m+[m[32m</style>[m
[1mdiff --git a/components/components/Jianbao.vue b/components/components/Jianbao.vue[m
[1mnew file mode 100644[m
[1mindex 0000000..eb4d3fc[m
[1m--- /dev/null[m
[1m+++ b/components/components/Jianbao.vue[m
[36m@@ -0,0 +1,74 @@[m
[32m+[m[32m<!--[m
[32m+[m[32m * @Author: your name[m
[32m+[m[32m * @Date: 2021-09-09 16:06:10[m
[32m+[m[32m * @LastEditTime: 2021-09-14 18:03:24[m
[32m+[m[32m * @LastEditors: Please set LastEditors[m
[32m+[m[32m * @Description: In User Settings Edit[m
[32m+[m[32m * @FilePath: \hello-uni\pages\index\components\Jianbao.vue[m
[32m+[m[32m-->[m
[32m+[m[32m<template>[m
[32m+[m	[32m<view class="jianbao">[m
[32m+[m		[32m<!-- <Suspense> -->[m
[32m+[m		[32m<!-- 简报看板 -->[m
[32m+[m		[32m<Title :title="title" :text="text"/>[m[41m	[m
[32m+[m		[32m<!-- </Suspense> -->[m
[32m+[m		[32m<!-- 客户数据 -->[m
[32m+[m		[32m<card :cards="cards"/>[m
[32m+[m		[32m<!-- 查看详情 -->[m
[32m+[m		[32m<Detail :url="url"/>[m
[32m+[m[41m		[m
[32m+[m	[32m</view>[m
[32m+[m[32m</template>[m
[32m+[m
[32m+[m[32m<script>[m
[32m+[m	[32mimport Title from './common/Title.vue';[m
[32m+[m	[32mimport Card from './common/Card.vue';[m
[32m+[m	[32mimport Detail from './common/Detail.vue';[m
[32m+[m	[32mimport { ref , reactive } from 